package com.example.mybatisplus0621;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@Slf4j
@MapperScan(basePackages = "com.example.mybatisplus0621.mapper")
@ServletComponentScan
public class Mybatisplus0621Application {

    public static void main(String[] args) {
        SpringApplication.run(Mybatisplus0621Application.class, args);
        log.info("======sprigboot-mybatisplus启动=====");
    }

}
